import request from '@/utils/request'
// 查询资源库分配
export function totalDistribution() {
  return request({
    url: `/netdisk/statistics/totalDistribution`,
    method: 'get',
  })
}
// 查询个人群组分配
export function storageUsedDetail(query) {
  return request({
    url: `/netdisk/statistics/storageUsedDetail`,
    method: 'get',
    params:query
  })
}
// 查询分院使用情况
export function allBranchUsedDetail() {
  return request({
    url: `/netdisk/statistics/allBranchUsedDetail`,
    method: 'get',
  })
}
// 设置群组默认空间
export function editDefaultGroupStorageSize(data) {
  return request({
    url: `/netdisk/storage/config/group/editDefaultGroupStorageSize`,
    method: 'put',
    data
  })
}
